﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace SignalRMvc.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            ViewBag.Message = "欢迎使用 ASP.NET MVC!";

            return View();
        }

        public ActionResult About()
        {
            return View();
        }
        public ActionResult HubChat()
        {
            Random Rnd = new Random();
            ViewBag.ClientName = "用户-" + Rnd.Next(10000, 99999);
            return View();
        }
    }
}
